import request from '@/utils/request.js';

// 抽奖详情
export function lotteryInfoApi(data){
	return request({
		url:'/lottery/info',
		method:'POST',
		data
	})
}

// 抽奖
export function lotteryStartApi(data){
	return request({
		url:'/lottery/start',
		method:'POST',
		data
	})
}

// 抽奖统计
export function lotteryStatistics(data){
	return request({
		url:'/lottery/statistics',
		method:'POST',
		data
	})
}

// 抽奖记录
export function lotteryRecord(data){
	return request({
		url:'/lottery/record',
		method:'POST',
		data
	})
}